
<!-- /section:settings.box -->
<div class="row">
    <div class="col-xs-12">
        <!-- PAGE CONTENT BEGINS -->
        <div class="row">
            <form class="form-horizontal form-bordered" action="" method="">
                <div class="form-group">
                    <div class="col-md-6">
                        <a href="{:url('backup')}" class="btn btn-link">
                            <i class="fa fa-plus">&nbsp;添加备份&nbsp;</i>
                        </a>
                        <a href="{:url('mysql')}" class="btn btn-link">
                            <i class="fa fa-database">&nbsp;数据库&nbsp;</i>
                        </a>
                    </div>
                </div>
            </form>
        </div>
        <div class="space-4"></div>
        <div class="row">
            <table class="table table-striped table-bordered table-hover">
                <thead>
                <tr>
                    <th class="center">序号</th>
                    <th class="center">备份名称</th>
                    <th class="center">备份时间</th>
                    <th class="center">备份大小</th>
                    <th class="center">操作</th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo"}
                <tr>
                    <th class="center">{$i}</th>
                    <td class="center">{$vo.name}</td>
                    <td class="center">{$vo.time}</td>
                    <td class="center">{$vo.size}</td>
                    <td class="center">
                        <a class="btn btn-xs btn-success" href="{:url('download',['name'=>$vo.name])}">下载</a>
                        <a class="btn btn-xs btn-danger" href="{:url('delete',['name'=>$vo.name])}">删除</a>
                    </td>
                </tr>
                {/volist}

                {empty name="list"}
                <tr>
                    <td colspan="7" class="center">
                        <div style='font-size:16px;margin:5px;'>没有备份文件</div>
                    </td>
                </tr>
                {/empty}
                </tbody>
            </table>
        </div>
        <!-- PAGE CONTENT ENDS -->
    </div><!-- /.col -->
</div><!-- /.row -->
